package com.axin.blog.api;


import com.axin.blog.api.domain.BlogTag;
import com.axin.common.core.constant.ServiceNameConstants;
import com.axin.common.core.domain.web.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * 标签服务 远程调用
 *
 * @Author axin
 * @Date 2021/10/31 23:15
 */
@FeignClient(contextId = "remoteTagService", value = ServiceNameConstants.BLOG_SERVICE, path = "/tag")
public interface RemoteTagService {

    /**
     * 查询标签列表
     *
     * @return
     */
    @GetMapping("/getWebTagList")
    AjaxResult<List<BlogTag>> getWebTagList();


}
